package com.cc.pms.service;

import com.cc.pms.domain.UserTag;
import com.cc.common.core.domain.R;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cc.pms.domain.vo.TagVo;

import java.util.List;

/**
 * <p>
 * 关联用户与标签，记录用户选择的标签 服务类
 * </p>
 *
 * @author corleone
 * @since 2025-04-19
 */
public interface IUserTagService extends IService<UserTag> {

    void removeByTagIds(Long[] ids);


    R<Boolean> updateUserTagByUserId(Long userId , Long[] tagIds);

    List<UserTag> queryTagByUserId(Long userId);

    List<TagVo> queryUserTag();
}
